<template>
    <tab-bar>
      <tab-bar-item path='/home' activeColor="rgb(240, 88, 146)">
        <img slot="item-icon" src="~assets/img/icon/首页.png" alt="" />
        <img slot="item-icon-active" src="~assets/img/icon/首页1.png" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>
      <tab-bar-item path='/category' activeColor="rgb(240, 88, 146)">
        <img slot="item-icon" src="~assets/img/icon/分类.png" alt="" />
        <img slot="item-icon-active" src="~assets/img/icon/分类1.png" alt="" />
        <div slot="item-text">分类</div>
      </tab-bar-item>
      <tab-bar-item path='/cart' activeColor="rgb(240, 88, 146)">
        <img slot="item-icon" src="~assets/img/icon/购物车空.png" alt="" />
        <img slot="item-icon-active" src="~assets/img/icon/购物车空1.png" alt="" />
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      <tab-bar-item path='/profile' activeColor="rgb(240, 88, 146)"> 
        <img slot="item-icon" src="~assets/img/icon/我的.png" alt="" />
        <img slot="item-icon-active" src="~assets/img/icon/我的1.png" alt="" />
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>

</template>

<script>
import TabBar from 'components/common/tabbar/TabBar'
import TabBarItem from 'components/common/tabbar/TabBarItem.vue'

export default{
  name: "MainTabBar",
  components:{
    TabBar,
    TabBarItem
  }
}
</script>

<style lang="less">
@import "assets/css/base.css";

</style>